package org.smartloli.kafka.eagle;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ImportResource;

/**
 * @author zbc
 * @date 2022/11/10
 */
@ImportResource({"classpath:schedule-quartz.xml"})
@MapperScan(basePackages = {"org.smartloli.kafka.eagle.web.dao", "org.smartloli.kafka.eagle.web.mapper.dao"})
@SpringBootApplication
public class KafkaEagleApplication extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(KafkaEagleApplication.class, args);
    }

}
